@import "./mixin";
@import "./var";

.header_main{
    color: #333;
    line-height: 40px;
    font-family: $font-family;
    
}

.header_logo{
    background-color: #fff;
}

.top_nav{
    &::after{@include clear();}
    height: 0px;
}

.top_wr{
    width: 1200px;
    margin: auto;
    font-size: 14px;
}

.top_nav_left{
    li{
        float: left;
        &::after{
            content: "|";
            color: #ccc;
        }
        &:last-child{
            &::after{
                content: "";
            }
        }
        a{
            padding: 0 10px;
        }
    }
}

.top_nav_right{
    float: right;
    div{
        float: left;
        margin: 0 0 0 5px;
    }
}

.my_car{
    width: 100px;
    text-align: center;
}

.user_info{
    color: rgb(67, 224, 224);
    margin-right: 10px !important;
}

.my_car{
    color: rgb(60, 151, 151);
}

.logo_blc{
    width: 1200px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 10px;
    &::after{@include clear()}
}

.logo,.logo_right{
    float: left;
    margin-left: 40px;
    padding-bottom: 10px;
}

.logo_blc img{
    height: 70px;
}

.logo_right{
    margin-left: 60px;
}

.search{
    float: right;
    position: relative;
    margin-top: 10px;
    input{
        width: 445px;
        height: 40px;
        border: 2px solid #ddd;
        padding : 0 200px 0 10px;
        position: absolute;
        right: 54px;
    }
    div{
        width: 55px;
        height: 40px;
        position: absolute;
        
        right: 0;
        border: 2px solid #ddd;
    }
    a{
        width: 40px;
        cursor: pointer;
        position: absolute;
        background-color: #f2f2f2;
        line-height: 24px;
        padding: 0 5px;
        border-radius: 3px;
        text-align: center;
        color: #aaa;
        font-size: 12px;
        top: 8px;
    }
    a:nth-of-type(1){
        right: 165px;
    }
    a:nth-of-type(2){
        right: 115px;
    }
    a:nth-of-type(3){
        right: 65px;
    }

    &:hover .search_input{
        border-color: #00eef3 ;
    }
    &:hover .search_btn{
        border-color: #00eef3 ;
        background-color: #00eef3;

    }
    .search_btn{
        background-color: #ddd;
        text-align: center;
        span{
            font-size: 25px;
            line-height: 30px;
        }
    }
}

.nav_wr{
    background-color: #fff;
}

.main_nav{
    width: 1200px;
    margin: auto;
    &::after{@include clear()}
}

.all_goods{
    float: left;
    width: 210px;
    position: relative;
    // &:hover .type_list{
    //     display: block;
    // }
}

.all_goods>a{
        display: inline-block;
        width: 210px;
        line-height: 40px;
        padding-left: 30px;
        font-size: 16px;
        background-color: #00eef3;
        border-bottom: 2px solid #00eef3;
}

.main_list>li{
    float: left;
    border-bottom: 2px solid transparent;
    padding: 0 10px;
    &:first-child{
        margin-left: 20px;
    }
    &:hover{
        border-bottom: 2px solid #00eef3;
    }
}

.main_list>li>a{
    display: inline-block;
    width: 100%;
    height: 40px;
    font-size: 16px;
    line-height: 38px;
}

.type_list>li{
    width: 210px;
    height: 40px;
    padding: 6px 10px 6px 25px;
    font-size: 16px;
    color: white;
    &:hover{
        background-color: #00eef3;
        color: black;
    }
}

.type_list{
    height: 460px;
    background-color: rgba(46,46,46,0.5);
    display: none;
    position: absolute;
    z-index: 99;
    .right-arrow{
        float: right;
        color: blanchedalmond;
    }
}